/************************************************************************
 * VECTORSPRITE class
 * by Marc-Henri Vuillaume
 *************************************************************************
 ** * * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 **********************************************************************/

package mhv.fr.sprite;

import java.awt.Graphics2D;
import java.awt.Shape;

/**
 * Simple sprite class using vector sprite.
 * @author Marc-Henri
 */
public abstract class VectorSprite extends Sprite2D {
    
    /**
     * Shape of the sprite
     */
    private Shape shape;
    
    /**
     * Getter method
     * @return Shape
     */
    public Shape getShape() {
        return shape;
    }

    /**
     * Setter methog
     * @param shape
     */
    public void setShape(Shape shape) {
        this.shape = shape;
    }
    
    /**
     * Construct and initialise the Sprite object.
     * @param g2d Graphics2D : the drawing surface
     */
    public VectorSprite(Graphics2D g2d) {
        super(g2d);
        setShape(null);
    }
    
    
    

}
